<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ScreenCaptureResolutionCalculator - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="../index.html">com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture</a>&nbsp;/&nbsp;<a href="./index.html">ScreenCaptureResolutionCalculator</a><br/>
<br/>
<h1>ScreenCaptureResolutionCalculator</h1>
<code><span class="keyword">class </span><span class="identifier">ScreenCaptureResolutionCalculator</span></code>
<p><a href="./index.html">ScreenCaptureResolutionCalculator</a> calculates scaled resolution based on input resolution
and target resolution constraint</p>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="-init-.html">&lt;init&gt;</a></h4>
</td>
<td>
<p><a href="./index.html">ScreenCaptureResolutionCalculator</a> calculates scaled resolution based on input resolution
and target resolution constraint</p>
<code><span class="identifier">ScreenCaptureResolutionCalculator</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="align-to-even.html">alignToEven</a></h4>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">alignToEven</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.ScreenCaptureResolutionCalculator$alignToEven(kotlin.Int)/positiveNumber">positiveNumber</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="compute-target-size.html">computeTargetSize</a></h4>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">computeTargetSize</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.ScreenCaptureResolutionCalculator$computeTargetSize(kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int)/displayWidth">displayWidth</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">, </span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.ScreenCaptureResolutionCalculator$computeTargetSize(kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int)/displayHeight">displayHeight</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">, </span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.ScreenCaptureResolutionCalculator$computeTargetSize(kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int)/targetResolutionLong">targetResolutionLong</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">, </span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.ScreenCaptureResolutionCalculator$computeTargetSize(kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int)/targetResolutionShort">targetResolutionShort</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html"><span class="identifier">IntArray</span></a></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>
